﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Dealbytags.aspx.vb" Inherits="task3.Dealbytags" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <br />
    </p>
    <p>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataSourceID="AccessDataSource1">
            <Columns>
                <asp:BoundField DataField="Dealname" HeaderText="Dealname" 
                    SortExpression="Dealname" />
            </Columns>
        </asp:GridView>
        <asp:AccessDataSource ID="AccessDataSource1" runat="server" 
            DataFile="~/App_Data/DealsDb.accdb" 
            SelectCommand="SELECT [Dealname], [Tagname] FROM [TagdealView] WHERE ([Tagname] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter Name="Tagname" QueryStringField="Tagname" 
                    Type="String" />
            </SelectParameters>
        </asp:AccessDataSource>
    </p>
    <p>
    </p>
    <p>
    </p>
</asp:Content>
